{include file="header.html"}
<div id="rightTop">
  <p>特色商品</p>
</div>
<div class="mrightTop1 info">
  <div class="fontl">
    <form method="get">
      <div class="left">
          <input type="hidden" name="app" value="feature" />
          <input type="hidden" name="act" value="index" />
            特色标题:
            <input class="queryInput" type="text" name="title" value="{$smarty.get.title|escape}" />
            商品ID:
            <input class="queryInput" type="text" name="goods_id" value="{$smarty.get.goods_id|escape}" />
            商品名称:
            <input class="queryInput" type="text" name="goods_name" value="{$smarty.get.goods_name|escape}" />
            <input type="submit" class="formbtn" value="{$lang.query}" />
      </div>
    </form>
  </div>
  <div class="fontr">{include file=page.top.html}</div>
</div>
<div class="tdare">
  <table width="100%" cellspacing="0" class="dataTable">
    <!--{if $feature_list}-->
    <tr class="tatr1">
      <td width="5%" class="firstCell"><input type="checkbox" class="checkall" /></td>
	  {if $enable_radar}<td width="10%">{$lang.enable_radar}</td>{/if}
      <td width="5%"><span ectype="order_by" fieldname="goods_id">商品ID</span></td>
      <td width="30%"><span fieldname="goods_name">商品名称</span></td>
      <td width="30%"><span fieldname="title">特色标题(点击可编辑)</span></td>
      <td><span ectype="order_by" fieldname="price">商品价格</span></td>
      <td><span ectype="order_by" fieldname="sort">排序(点击可编辑)</span></td>
      <td>{$lang.handler}</td>
    </tr>
    <!--{/if}-->
    <!--{foreach from=$feature_list item=feature}-->
    <tr class="tatr2">
      <td class="firstCell"><input type="checkbox" class="checkitem" value="{$feature.goods_id}"/></td>
    {if $enable_radar}
    <td><span id="r{$feature.goods_id}"class="radar_product_point" radar_product_id='{$feature.goods_id}'></span></td>
    {/if}
      <td>{$feature.goods_id}</td>
      <td>{$feature.goods_name|escape}</td>
      <td><span ectype="inline_edit" fieldname="title" fieldid="{$feature.goods_id}" required="1" class="editable" title="{$lang.editable}">{$feature.title|escape}</span></td>
      <td>{$feature.price|price}</td>
      <td><span ectype="inline_edit" fieldname="sort" fieldid="{$feature.goods_id}" required="1" class="editable" title="{$lang.editable}">{$feature.sort|escape}</span></td>
      <td>
          <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=feature&act=drop&id={$feature.goods_id}&ret_page={$page_info.curr_page}');">{$lang.drop}</a>
      </td>
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data info">
      <td colspan="8">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}-->
  </table>
  <!--{if $feature_list}-->
  <div id="dataFuncs">
    <div id="batchAction" class="left paddingT15"> 
      <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=feature&act=drop&ret_page={$page_info.curr_page}" presubmit="confirm('{$lang.drop_confirm}')" />
    </div>
    <div class="pageLinks">{include file=page.bottom.html}</div>
   <!--{/if}-->
  </div>
  <div class="clear"></div>
</div>
{include file="footer.html"}{if $enable_radar}
<input type="hidden" id="radar_lincense_id" value="" />
<input type="hidden" id="radar_product_key" value="ecmall" />
<input type="hidden" id="radar_sign_key" value="" />
<script type="text/javascript" src="http://js.sradar.cn/radarForGoodsList.js"></script>
<script>
radar_point_extract();
$(function(){
    
});
</script>
{/if}